.nav .w .n-r ul li:nth-child(3) a{
    color: aqua;
    border-bottom: 2px solid aqua;
}
/* 家乡 */
.hometown{
    max-width: 1200px;
    margin: 10px auto;
    padding: 30px;
    background-color: #d4eeff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0);
    animation: enter 0.6s ease forwards;
}
@keyframes enter {
    to{
        opacity: 1;
        transform: scale(1);
    }
}
.hometown h2{
    position: relative;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
}
.hometown .img ul{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.hometown .img li{
    width: calc((100% - 75px) / 4);
    min-width: 250px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hometown .img li:hover img{
    transform: scale(1.2);
}

.hometown .img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hometown .img li:hover img {
    transform: scale(1.05);
}

.hometown .img h3 {
    text-align: center;
    color: #2c3e50;
    padding: 15px 0;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.hometown .img h3::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin: 5px auto 0;
    background-color: #3498db;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hometown .img li:hover h3 {
    color: #3498db;
}
.hometown .img li:hover h3::after {
    width: 20%;
}
.contact {
    width: 40%;
    margin: 10px auto;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3498db 0%, #8e44ad 100%);
    opacity: 0;
    transform: scale(0);
    animation: enter 0.6s ease forwards;
}

.contact .title {
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    font-size: 28px;
    font-weight: 700;
}
.contact .qq {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact i {
    display: inline-block;
    font-size: 30px;
}
.contact p {
    display: inline-block;
}